{%extends "base.xhtml"%}
{% load i18n %}
{% load ham %}
{%block content%}
	<h2>{{task|get_name:LANGUAGE_CODE}}</h2>
	<p>{%trans "Max points"%}: {{task.maxPoints}}, <a href="{%href "pacs.views.add_submission" task_slug=task.slug%}">({%trans "Submit"%})</a></p>
	{%if description%}
	<h3>{%trans "Description"%}</h3>
	<p>{{description.description}}</p>
	<h3>{%trans "Input"%}</h3>
	<p>{{description.input}}</p>
	<h3>{%trans "Output"%}</h3>
	<p>{{description.output}}</p>
	<h3>{%trans "Test examples"%}</h3>
	<p>{{description.testExamples|escape}}</p>
	{%else%}
	<p>{%trans "No description in your and default language"%}</p>
	{%endif%}
{%endblock%}
